import {get} from '../utils/request'

// 搜索咨询师
export const searchConsultants = (keyword, pageNo = 1, pageSize = 10) => {
  return get('/app-api/mp/open/consultant/search', {
    keyword: keyword,
    pageNo: pageNo,
    pageSize: pageSize
  });
};

// 搜索文章
export const searchArticles = (keyword, pageNo = 1, pageSize = 10) => {
  return get('/app-api/mp/open/article/search', {
    keyword: keyword,
    pageNo: pageNo,
    pageSize: pageSize
  });
};